package com.chenhao.springcloud.chenhaodesignservice.design.dependenceinversion;


/**
 * Description:
 *
 * @author chenhao
 * @date 2020/12/7 16:18
 */
public class Geely {


    public void setiCourse(ICourse iCourse) {
        this.iCourse = iCourse;
    }

    private ICourse iCourse;

    public void studyImoocCourse(){
        iCourse.studyCourse();
    }
}
